package com.aliyun.messagemgt.converter;

import com.aliyun.messagemgt.dto.base.BaseMessageSourceDTO;
import com.aliyun.messagemgt.entities.BaseMessageSourceEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @ClassName: BaseMessageSourceConverter
 * @Description:
 * @Author: wugongzi
 * @Date: 2021/10/14 16:32
 * @Version: 1.0
 */
@Mapper
public interface BaseMessageSourceConverter {
    BaseMessageSourceConverter INSTANCE = Mappers.getMapper(BaseMessageSourceConverter.class);

    BaseMessageSourceDTO baseMessageSourceEntity2baseMessageSourceDTO(BaseMessageSourceEntity baseMessageSourceEntity);
}
